﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理模块</title>
<script type="text/javascript" src="js/photoSort.js"></script>
<style type="text/css">
<!--

.bloc_l{
width:50px;
height:50px;
float:left;
border:1px solid #cccccc;
text-align:center;
cursor:move;
overflow:hidden;
}
-->
</style>
<script type="text/javascript">
	window.onload=function(){
		qbClass.ManageBlock.DragsDiv();
	}
	
	function saveSortNum(id){
		var imgs=$(id).getElementsByTagName("img");
		
		var sortIds="";
		for(i=0;i<imgs.length;i++){
			if(sortIds==""){
				sortIds=imgs[i].getAttribute("photoId");
			}
			else{
				sortIds+=","+imgs[i].getAttribute("photoId");
			}
		}
		alert(sortIds);
	}
</script>
</head>

<body>

            <div id="ShowBlockTD">
               			<div id="LeftBlock" style="width:300px;margin-right:8px;float:left">
                            <div  ty="column" style="width:300px;float:left;">
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgload[4].jpg" width="100" height="76" photoId="1"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l" >
                                        <div style="width:50px;"><img src="images/http_imgload[5].jpg" width="100" height="76" photoId="2"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA3BAGHZ.jpg" width="77" height="100" photoId="3"/></div>
                                    </div>
                                </div>
								
								<div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l" >
                                        <div style="width:50px;"><img src="images/http_imgloadCA6EO23Q.jpg" width="100" height="75" photoId="4"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA6R9CM4.jpg" width="100" height="75" photoId="5"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA8P3BBP.jpg" width="100" height="75" photoId="6"/></div>
                                    </div>
                                </div>
								
								<div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA2DXO3U.jpg" width="100" height="75" photoId="7"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCAZIN3G9.jpg" width="100" height="75" photoId="8"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA6PZVCL.jpg" width="100" height="75" photoId="9"/></div>
                                    </div>
                                </div>
								
								<div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA5LULO8.jpg" width="100" height="72" photoId="10"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCAB1SYNA.jpg" width="100" height="75" photoId="11"/></div>
                                    </div>
                                </div>
                                <div ty="module" style="width:50px;margin:5px;float:left;" sy="LeftBlock">
                                    <div ty="bloc" class="bloc_l">
                                        <div style="width:50px;"><img src="images/http_imgloadCA2PXKMV.jpg" width="100" height="75" photoId="12"/></div>
                                    </div>
                                </div>
                            </div>
                        </div>
						
                               
                            
            </div>
			
			<div><input type="button" value="确定" onclick="saveSortNum('ShowBlockTD')"/></div>
       
</body>
</html>
